package com.jhs.boot.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 节点视图对象
 *
 * @author zxy
 * @since 2025-08-11 19:17
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Schema( description = "节点视图对象")
public class SysNodesVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    @Schema(description = "部门ID")
    private Long deptId;
    @Schema(description = "父类IP名字")
    private String parentName;
    @Schema(description = "部门名字")
    private String deptName;

    @Schema(description = "RFID人员名字")
    private String rfidName;
    @Schema(description = "父类节点id")
    private Long parentId;
    @Schema(description = "IP地址")
    private String ip;
    @Schema(description = "DHCP IP地址")
    private String  dhcpIp;
    @Schema(description = "mac地址")
    private String mac;
    @Schema(description = "设备地址")
    private String location;
    @Schema(description = "在线状态 1-在线 0-下线")
    private Integer status;
    @Schema(description = "ap的类型状态 0-map 1-mpp 2终端 3-RFID")
    private Integer type;
    @Schema(description = "节点的X值")
    private Integer x;
    @Schema(description = "节点的Y值")
    private Integer y;
    @Schema(description = "逻辑删除标识(0-未删除 1-已删除)")
    private Integer isDeleted;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
     @Schema(description = "节点的大小")
     private Integer symbolSize;
    @Schema(description = "允许上线标识(0-允许 1-禁止)")
    private Integer promise;
    @Schema(description = "人员编码")
    private String userCode;
    @Schema(description = "颜色")
    private String color;
    @Schema(description = "终端的拓扑等级(0-MPP-1层 1-MAP-2层)")
    private Integer level;
    @Schema(description = "主机名")
    private String hostName;
}
